package com.sunwoda.demo.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2021-03-18 15:05:01
 */
@Data
public class Product implements Serializable {
    private static final long serialVersionUID = 307872114288024067L;
    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 商品编码
     */
    private String productNumber;
    /**
     * 商品名称
     */
    private String productName;
    /**
     * 规格
     */
    private String specification;
    /**
     * 商品分类
     */
    private String productClassify;
    /**
     * 品牌
     */
    private String productBrand;
    /**
     * 单位
     */
    private String productUnit;
    /**
     * 税率
     */
    private String taxRate;
    /**
     * 含税价格
     */
    private Object taxIncluded;
    /**
     * 上架状态
     */
    private Integer putawayState;
    /**
     * 上架时间
     */
    private Date putawayTime;
    /**
     * 下架时间
     */
    private Date outawayTime;
    /**
     * 产地
     */
    private String originPlace;
    /**
     * 库存数量
     */
    private Integer warehouseNumber;
    /**
     * 备注
     */
    private String remark;

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", productNumber='" + productNumber + '\'' +
                ", productName='" + productName + '\'' +
                ", specification='" + specification + '\'' +
                ", productClassify='" + productClassify + '\'' +
                ", productBrand='" + productBrand + '\'' +
                ", productUnit='" + productUnit + '\'' +
                ", taxRate='" + taxRate + '\'' +
                ", taxIncluded=" + taxIncluded +
                ", putawayState=" + putawayState +
                ", putawayTime=" + putawayTime +
                ", outawayTime=" + outawayTime +
                ", originPlace='" + originPlace + '\'' +
                ", warehouseNumber=" + warehouseNumber +
                ", remark='" + remark + '\'' +
                '}';
    }
}
